<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>向表格添加背景颜色或背景图像</title>
</head>
<body>

<h4>背景颜色：</h4>
<table border="1" bgcolor="red">
  <tr>
    <td>First</td>
    <td>Row</td>
  </tr>
  <tr>
    <td>Second</td>
    <td>Row</td>
  </tr>
</table>

<h4>背景图像：</h4>
<table border="1" background="https://s1.ax1x.com/2023/08/28/pPaVcQ0.png">
  <tr>
    <td>First</td>
    <td>Row</td>
  </tr>
  <tr>
    <td>Second</td>
    <td>Row</td>
  </tr>
</table>

</body>
</html>